﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace WinForms
{
    static class Program
    {
        private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(Program));
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            //try
            //{
                log.Info("Application started.");
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new MainForm());
            //}
            //catch (Exception e)
            //{
            //    log.Error(e.Message, e);
            //    MessageBox.Show(e.Message);
            //}
        }
    }
}
